(function(window, angular, undefined){
	var Module = angular.module('water.entity.deviceOperationJobAsso', ['waterCommon']);
	
	Module.service('$deviceOperationJobAssoService',function($waterDataCommon){

		this.getList = function(data){
			var promise = $waterDataCommon.post("/DeviceOperationJobAsso/getList",data);
			return promise;
		}

		this.createModel = function(data){
			var promise = $waterDataCommon.createModel("DEVICE_OPERATION_JOB_ASSO",data);
			return promise;
		}

		this.updateModel = function(data){
			var promise = $waterDataCommon.updateModel("DEVICE_OPERATION_JOB_ASSO",data);
			return promise;
		}

		this.getModel = function(key){
			var promise = $waterDataCommon.getModel("DEVICE_OPERATION_JOB_ASSO",key);
			return promise;
		}

		this.deleteModel = function(id){
			var promise = $waterDataCommon.deleteModel("DEVICE_OPERATION_JOB_ASSO",{key:id});
			return promise;
		}
	});
}(window, angular));